-
Notifications
You must be signed in to change notification settings - Fork 125
Tried to adjust it as per needed options. #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I will have to get the CI config updated first 😊 |
|
I just checked another site on that server same thing I wonder, could we add a cache behind it? and it would just fetch from that (redis) result, so that there is actually 0 file lookups for this? |
|
I just checked/tested, this reduces it to 0 file lookups once the config has been built. |
|
Getting the build fixed in #375 |
|
I've got the build fixed for 4.x, but there are still a few failing tests here. |
|
Those are some ideas. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 5.x #374 +/- ##
============================================
- Coverage 92.39% 91.98% -0.41%
- Complexity 116 124 +8
============================================
Files 10 10
Lines 368 387 +19
============================================
+ Hits 340 356 +16
- Misses 28 31 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I made the cache configurable, defaulting to debug mode setting. Lots of deprecations, but otherwise seems fine: |
| $cache = 'default'; | ||
| } | ||
| if ($cache) { | ||
| $cachedConfig = Cache::read('asset_compress_config', $cache); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the cache key be dependent on the args path and skipPlugins maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that is necessary. I'd like to learn more about the use case before exposing that.
Being able to have the helper load specific paths is useful for testing.
Plugin could need a bit more love I guess
Only show-casing for now what would be needed to get things working in a "cake" way
Refs #373
notes: